############################
# The files in this archive reproduce the tables and figures in 
# Hill, SJ. ``Sidestepping Primary Reform: Political Action in Response to Institutional Change.''
# and in the online appendix to that article.
############################

To execute the reproduction, first run the file
01_DoStata.do
using the program Stata. This will automatically call the subsidiary Stata do files the produce the tables and figures using the different data files.

You will need the add-on outreg2 to create the regression tables. The file was run by the author on Stata version 16.

After execution of 01_DoStata.do, run the file
02_DoR.R
using the statistical program R. This will create the graphics for the paper and appendix.

You will need the R package data.table for the code to run. The file was run by the author on R version 3.6.1.
